Skip to content

feat: add HEALTHCHECK instruction to Dockerfile - #67

Open
Shreyas-Gowda26 wants to merge 1 commit into
aleibovici:mainfrom
Shreyas-Gowda26:main
Open

feat: add HEALTHCHECK instruction to Dockerfile#67
Shreyas-Gowda26 wants to merge 1 commit into
aleibovici:mainfrom
Shreyas-Gowda26:main

Conversation

@Shreyas-Gowda26

Copy link
Copy Markdown

Closes #55

Added HEALTHCHECK instruction to the production Dockerfile using
the existing /api/health endpoint:

  • Installed curl in the runner stage (required for health check)
  • Added HEALTHCHECK with --interval=30s --timeout=5s --retries=3
  • Allows Docker and orchestrators (Compose, Kubernetes) to monitor
    container health automatically

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Dockerfile HEALTHCHECK instruction

1 participant